adTempus API
PreviousUpNext
IHolidayProvider::IsHoliday Method

Indicates whether a specified date is a holiday.

C++
HRESULT IsHoliday(VARIANT valueToCheck, [in,defaultvalue(0)] long checkOptions, [out,retval] VARIANT_BOOL * isHoliday);
C#
IsHoliday(VARIANT valueToCheck, [in,defaultvalue(0)] long checkOptions, [out,retval] VARIANT_BOOL isHoliday);
Visual Basic
Sub IsHoliday(valueToCheck As VARIANT, checkOptions As [in,defaultvalue(0)] long, isHoliday As [out,retval] VARIANT_BOOL)

IsHoliday checks the date against the object's rules for determining what is a holiday and returns the result.

adTempus API Reference version 3.0.0.0, revised 10/30/2008